import turtle

def draw_circle(pen, x, y, radius, filled):
    pen.penup()
    pen.goto(x, y - radius)
    pen.pendown()
    pen.color('black')  # 设置边框颜色为黑色

    if filled:
        pen.fillcolor('black')  # 设置填充颜色为黑色
        pen.begin_fill()  # 开始填充

    pen.circle(radius)

    if filled:
        pen.end_fill()  # 结束填充

canvas = turtle.Screen()
pen = turtle.Turtle()

# 调用绘制实心圆的函数
draw_circle(pen, 100, 0, 50, True)

# 调用绘制空心圆的函数
draw_circle(pen, 0, 0, 50, False)

turtle.done()
